@import url('https://fonts.googleapis.com/css?family=Ma+Shan+Zheng&display=swap&subset=chinese-simplified');

* {
	/*同时修改浏览器默认的属性值*/
	box-sizing: border-box;
}

#map {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0px;
	bottom: 0px;
	z-index: 0;	
	background-color: #f1f1f1;
}

.position-relative {
	position: relative;
}

.center-container {
	margin-left: auto;
	margin-right: auto;
	width: 480px;
	height: 520px;

	/* 居中定位, 详细介绍点链接 */
	/*https://stackoverflow.com/questions/25982135/why-does-left-50-transform-translatex-50-horizontally-center-an-element*/
	top: 50%;
	transform: translateY(-50%);

	background-color: #fff;
	border: 1px solid rgba(27, 31, 35, .2);
	border-radius: 5px;
	font-family: 'Ma Shan Zheng', cursive;
}

.sign-up-caption {
	left: 5%;
	font-size: 32px;
	/*em unit Equal to the computed value of 
	the ‘font-size’ property of the element on which it is used.*/
	padding: 0.32em;
	background: #000;
	color: #fff;
	/*下次写成一个整体*/
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	border-bottom: solid thin #f1f1f1;
}

.setup-form-container {
	padding: 5% 15%;
}

.setup-form-container label{
	display: block;
	margin-bottom: 7px;
	font-size: 1.2em;
}

/*怎么选择特定的label？*/
.setup-form-container label:after {
	padding-left: 5px;
    color: #cb2431;
    content: "*";
}

.input-block {
	display: block;
	width: 100%;
	padding: 6px 8px;
	margin-top: 5px;
	margin-bottom: 12px;
	border: 1px solid rgba(27, 31, 35, .2);
	/* border-radius: 3px; */
	box-shadow: inset 0 1px 2px rgba(27, 31, 35, .075);
	font-size: 16px;
}

/*By default, placeholder text has a light gray color (in the browsers implementing it so far).
 To style it, you’ll need vendor prefix CSS properties.*/
input::-webkit-input-placeholder {
	color: #dbdbdb;
}
input:-moz-placeholder {
	color: #dbdbdb;
}
input::-moz-placeholder {
	color: #dbdbdb;
}
input:-ms-input-placeholder {
	color: #dbdbdb;
}

button {
	display: block;
}

.btn {
	display: block;
	width: 100%;
	margin-top: 12px;
	padding: 6px 12px;
	font-size: 18px;
	font-family: inherit;
	border: 1px solid rgba(27, 31, 35, .2)!important;
	border-radius: 3px;
	cursor: pointer;
}

#register-btn {
	background-color: #2f9b48;
	color: #fff;
}

#register-btn:disabled {
	background-color: #65a574;
	color: hsla(0,0%,100%,.6);
	opacity: .8!important;
	pointer-events: none;
    cursor: default;
}

#register-btn:hover {
	background-color: #178b33;
}

#sign-in-btn:hover {
	background-color: #d1d1d1;
}

#sign-in-btn {
	background-color: inherit;
}

.setup-form-container p {
	text-align: center;
	padding-left: 5%;
	padding-right: 5%;
	font-size: 0.85em;
	color: #8a8a8a;
}